package com.chen.popj.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 每道题的做题记录
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ProblemRecord {
    private Integer id; //做题记录唯一标识
    private Integer userId; //用户id
    private Integer submissionId; //提交记录id
    private Integer sampleInputId; //样例输入id
    private Integer sampleOutputId; //样例输出id
    private String result;  //该测试用例的判题结果
    private String message;  //信息（比如错误信息）
    private LocalDateTime judgmentTime; //判题的日期和时间

}
